<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        main{
            position: relative;
        }
        .ball{
            width: 80px;
            height: 80px;
            margin: 200px auto;
            transform-origin: center center;
            animation: ball 2s infinite;
        }
        @keyframes ball {
            0%{
                transform: translateY(0px) rotate(0deg);
                background-image: url('ball.png');
                background-size: contain;
            }
            20%{
                transform:translateY(-100px) rotate(180deg) ;
            }
            33%{
                transform: translateY(0px) rotate(360deg);
                background-image: url('ball.png');
                background-size: contain;
            }
            34%{
                transform: translateY(0px) ;
                background-image: url('zfx.png');
                background-size: contain;
            }
            53%{
                transform: translateY(-100px) rotate(180deg);
            }
            64%{
                transform: translateY(0px) rotate(265deg);
                background-image: url('zfx.png');
                background-size: contain;
            }
            65%{
                transform: translateY(0px) ;
                background-image: url('sjx.png');
                background-size: contain;
            }
            83%{
                transform: translateY(-100px) rotate(-180deg);
            }
            99%{
                transform: translateY(0px) rotate(-360deg);
                background-image: url('sjx.png');
                background-size: contain;
            }
            100%{
                transform: translateY(0px);
                background-image: url('ball.png');
                background-size: contain;
            }
        }


        @keyframes s {
            from{

            }
            to{
                transform: scale(.3);
                filter: blur(5px);
                background: rgba(0,0,0,.1);
            }
        }
        main:after{
            content: "";
            display: inline-block;
            width: 80px;
            height: 20px;
            border-radius: 100px/60px;
            filter: blur(5px);
            background: rgba(0,0,0,.1);
            position:  absolute;
            bottom: -25px;
            left: 570px;
            z-index: -1;
            animation: s .3s infinite alternate-reverse;
        }
    </style>
</head>
<body>
<main>
    <div class="ball">

    </div>
</main>
</body>
</html>